<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

<f:view contentType="text/html">
	<h:head>
    	<f:facet name="first">
        	<title>Central de Estagio Vagas</title>
        </f:facet>
		<link rel="StyleSheet" type="text/css" href="css/estilo.css" media="screen" />
    </h:head>
    <h:body>
    <div align="center">
		<p:layout style="min-width:1024px;max-width:1024px;min-height:1000px" styleClass="textoEsq">
			<p:layoutUnit id="top" position="north" size="28%" style="max-width:1024px">
				<div align="center">
				<p:graphicImage url="imagens/topo.jpg" width="1000" height="145" />
				</div>
				<p:panelGrid styleClass="semBorda"> 
				<p:row>
				<p:column rowspan="4">
				<p:graphicImage value="imagens/user.jpg" />
				</p:column>
				<p:column style="font-weight: bold;">SIGMA Informática LTDA</p:column>
				</p:row>
				<p:row><p:column>CNPJ: 81.159.857/00001-50</p:column></p:row>
        		<p:row><p:column>Rua Manoel Vieira Pinto, 23 - Jardim Anchieta - OURINHOS/SP</p:column></p:row>
				<p:row><p:column>Telefone: (14) 3322-5426</p:column></p:row>
				</p:panelGrid> 
                </p:layoutUnit>
                
                <p:layoutUnit id="bottom" position="south" size="60">
                <div align="center">
                <h:outputText value="FATEC OURINHOS" /> <br/> 
                <h:outputText value="Av. Vitalina Marcusso, 1400 - Campus Universitário - CEP 19910-206 - Ourinhos/SP" /> <br/>
                <h:outputText value="Tel: (14) 3326-1486" />  
                </div>  
                </p:layoutUnit>

                <p:layoutUnit id="left" position="west" resizable="true" styleClass="semBorda">
                <h:form>
                    <p:panelMenu styleClass="ui-panelmenu">
                        <p:submenu label="Dados Cadastrais" >
                        <p:menuitem value="Atualizar Dados" url="/EdtEmpresa.jsf" target="centro" />
                        </p:submenu>
                        <p:submenu label="Vagas">
                         <p:menuitem value="Cadastrar Vaga" url="/GerarVaga.jsf" target="centro">
                         
                         </p:menuitem>
                          <p:menuitem value="Consultar Vaga" url="/ConsultarVaga.jsf" target="centro"/>
                        </p:submenu>

                        <p:submenu label="Relatório">
                        <p:menuitem value="Vagas" /> 
                        </p:submenu>
                    </p:panelMenu>
                    </h:form>
                </p:layoutUnit>

                <p:layoutUnit id="c" position="center" resizable="true">
                <iframe name="centro" width="100%" height="100%" frameborder="0"/>
                
                </p:layoutUnit>

            </p:layout>

            <p:dialog header="Basic Dialog" widgetVar="dlg1" modal="true">
                <h:outputText value="Resistance to PrimeFaces is futile!" />
            </p:dialog>
</div>
        </h:body>

    </f:view>
</html>

